import {theme} from "antd";

const useEnhanceCssVars = () => {
  const {token} = theme.useToken();
  const enhanceCssVars = {
    '--ant-color-primary': token.colorPrimary,
  } as React.CSSProperties;

  return enhanceCssVars;
};

export default useEnhanceCssVars;
